.z-dialog{
	display:none;
	overflow:auto;
	position:absolute;
	z-index:1000;
	bottom:0;
	left:0;
	width:100%;
	height:100%;
}
.z-dialog .z-dialog-background{
	position:absolute;
	bottom:0;
	left:0;
	width:100%;
	height:100%;
	background-color: #000000;
	opacity: 0.3;
	filter: progid:DXImageTransform.Microsoft.Alpha(opacity=30);
}
.z-dialog .z-dialog-content{position:absolute;top:50%;left:50%;}
.z-dialog .z-dialog-content .z-header{
	line-height:30px;
	height: 30px;
	background-color: #00aaff;
	position: relative;
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#0a92cd), to(#0995cd));
	background-color: #0a92cd;
}

.z-dialog .z-dialog-content .z-header .z-title{position: absolute;left: 10px;color:#fff;}
.z-dialog .z-dialog-content .z-header a.z-close{
	display:block;
	position: absolute;
	right: 0;
	top: 0;
	text-decoration:none;
	height: 100%;
	width:30px;
	background: url('../img/close.png') center center scroll no-repeat transparent;
	text-indent: 10000px;
	overflow: hidden;
}

.z-dialog .z-bottom{
	background-color: #ffffff;
	padding: 25px 0 5px 0;
	text-align: center;
}
.z-dialog .z-bottom a.z-confirm,
.z-dialog .z-bottom a.z-cancel{
	display: inline-block;
	text-align: center;
	border-radius: 3px;
	width: 60px;
	margin-left: 30px;
}

.z-dialog .z-bottom a.z-confirm{
	border: 1px solid #486982;
	margin-left: 0;
}
.z-dialog .z-bottom a.z-cancel{
	border: 1px solid #d0d0d0;
	color: #6c1c1c;
	background-color: #e0e0e0;
	background: none;
	text-shadow: none;
}

.z-dialog .z-dialog-content .z-content{
	clear:both;
	padding:15px 10px;
	background-color:#fff;
	text-align: center;
	overflow: auto;
}

.z-dialog .z-dialog-content .z-content form{
    text-align: left;
}

.z-loading{
    position: absolute;
	z-index: 100;
    top: 0;
    left: 0;
	right: 0;
	bottom: 0;
}
.z-loading .background{
	position: absolute;
    width:100%;
    height:100%;
	top: 0;
	left : 0;
	background-color:#ffffff;
    opacity: 0.1;
}
.z-loading .content{
	position: absolute;
	background-color: #ffffff;
	border: 1px solid #e0e0e0;
	width: 250px;
	height: 50px;
    top:50%;
    left:50%;
    margin-top:-25px;
    margin-left:-55px;
}
.z-loading .content span{line-height: 48px;}
.z-loading .content img{margin: 20px;display: block;float: left;}

/* LightBox */
.z-light-box{
    background-color:#fff;
    position:absolute;
    left:50%;top:50%;
    width:100px;height:100px;
    border-top:10px solid #fff;
    border-left:10px solid #fff;
    border-right:10px solid #fff;
    border-bottom: 30px solid #fff;
}

.z-light-box .z-description{
    position:absolute;
    bottom:0;margin:0;
    height:50%;
    width:100%;
    line-height:20px;
    z-index: 6;
	padding-top: 5%;
}

.z-light-box .z-description .z-background{
    background-color:#ffffff;
    position:absolute;
    bottom:0;
    margin:0;
    height:100%;
    width:100%;
    opacity: 0.3;
}

.z-light-box .z-description .z-content{
    position:absolute;
    height:90%;
    padding:0 5%;
	width: 90%;
    line-height:20px;
    overflow:hidden;
	border: none;
	border-radius: 0;
	background-color: #ff00ff;
}

.z-light-box a{
    display:block;
    position:absolute;
    z-index: 5;
}
.z-light-box a.z-prev,
.z-light-box a.z-next{top:0;width:48%;height:100%;}
.z-light-box a.z-more,
.z-light-box a.z-close{bottom:-30px;line-height: 30px;}
.z-light-box a.z-more,
.z-light-box a.z-prev{left:0;}
.z-light-box a.z-close,
.z-light-box a.z-next{right:0;}

.z-circulate-show{position: relative;}
.z-circulate-show td img,
.z-circulate-show .z-image-container img{display: block;}
.z-circulate-show td p{margin: 0;line-height: 30px;}
.z-circulate-show ul.z-button{position: absolute;bottom: 0;right:0;}
.z-circulate-show ul.z-button li{
    list-style-type: none;
    float: left;
    background-color: #333333;
    opacity: 0.5;
    margin-left:1px;
}
.z-circulate-show ul.z-button li a{
    color: #ffffff;
    display: block;
    width:25px;height:25px;
    line-height: 25px;
    text-align: center;
}
.z-scroll-box{display: block;position: relative;overflow: hidden;}
.z-scroll-box .z-scroll-container{position: absolute;top: 0;left:0;width:100%;}
.z-scroll-box .z-horizontal-bar,
.z-scroll-box .z-vertical-bar{position: absolute;background-color: #e1e1e5;margin:0;}
.z-scroll-box .z-horizontal-bar a,
.z-scroll-box .z-vertical-bar a{right: 0;top:0;display: block;position: absolute;background-color: #a9a9a9;}
.z-scroll-box .z-horizontal-bar{bottom: 0;left: 0;width:100%;height:12px;}
.z-scroll-box .z-horizontal-bar a{left: 0;top: 0;height: 100%;}
.z-scroll-box .z-vertical-bar{top: 0;right: 0;height:100%;width:12px;}
.z-scroll-box .z-vertical-bar a{width: 100%;}

/* Image Browser */
.z-image-browser{position: relative;height:415px;}
.z-image-browser form,
.z-image-browser ul.parents,
.z-image-browser ul.records,
.z-image-browser div.pagination,
.z-image-browser ul.button{position: absolute;width : 100%;}
.z-image-browser form.filter{margin-top: 0;margin-bottom: 0;padding: 0;height: 30px;line-height: 30px;width:100%;border-radius: 0;border: none;top : 0;}
.z-image-browser form.filter input.text{font-size: 11px;}
.z-image-browser form.filter input.submit{width: 20px;height: 20px;text-indent: -10000px;overflow: hidden;border: none;	background: url('../img/find.png') 0 0 no-repeat scroll transparent;cursor: pointer;}
.z-image-browser ul.parents{top : 35px;overflow: auto;background-color: #fafafa;margin:5px 0;border: 1px solid #e9e9e9;margin-bottom: 0;}
.z-image-browser ul.parents li{float: left;line-height: 20px;font-weight: bold;}
.z-image-browser ul.parents li a{display: block;color:#003344;font-weight: normal;font-size: 11px;padding: 0 5px;}
.z-image-browser ul.records{top: 65px;overflow: auto;height: 318px;margin-top : 0;}
.z-image-browser ul.records li{float: left;margin-right: 5px;margin-bottom: 5px;padding : 0;}
.z-image-browser ul.records li a{position: relative;display: block;width: 150px;height: 150px;overflow: hidden;border: 1px solid #c0c0c0;padding: 1px;color: #282839;background-color: transparent;}
.z-image-browser ul.records li a:hover,
.z-image-browser ul.records li.active a{border: 1px solid #333333;}
.z-image-browser ul.records li.active a span.image-container{display: block;width:100%;height: 100%;}
.z-image-browser ul.records li a span.label,
.z-image-browser ul.records li a span.created_at{position: absolute;left: 1px;width: 100%;height: 20px;line-height:20px;font-size: 11px;text-align: center;background:url('../img/opacity-50.png') 0 0 repeat scroll transparent;}
.z-image-browser ul.records li a span.label{bottom: 21px;padding:0;}
.z-image-browser ul.records li a span.created_at{bottom: 1px;}
.z-image-browser ul.records li a img{display: block;}
.z-image-browser div.pagination{top : 383px;}
.z-image-browser ul.button{height:27px;top:383px;margin: 0;width:auto;right:0;}
.z-image-browser ul.button li{float : right;}
.z-image-browser-handle div{margin-left: 130px;overflow: auto;border:1px solid #898989;height:168px;width:500px;position: relative;}
.z-image-browser-handle div.image-container{width:150px;height:150px;}
.z-image-browser-handle table{border-collapse: collapse;}
.z-image-browser-handle table td{padding:1px;}
.z-image-browser-handle table td a{display: block;position: absolute;top:1px;width:20px;text-align: center;height:20px;line-height:20px;	border:1px solid #660000;background-color: #ff0000;color:#ffffff;opacity: 0.5;}
.z-image-browser-handle img{display: block;}
/* Image Selector */